package com.ruoyi.system.service;

import com.ruoyi.system.domain.Restaurant;
import com.ruoyi.system.domain.RestaurantOrder;

import java.util.List;

/**
 * 餐饮订单Service接口
 * 
 * @author 强盛酒店
 * @date 2023-03-12
 */
public interface IRestaurantOrderService 
{
    /**
     * 查询餐饮订单
     * 
     * @param id 餐饮订单主键
     * @return 餐饮订单
     */
    public RestaurantOrder selectRestaurantOrderById(Long id);

    /**
     * 查询餐饮订单列表
     * 
     * @param restaurantOrder 餐饮订单
     * @return 餐饮订单集合
     */
    public List<RestaurantOrder> selectRestaurantOrderList(RestaurantOrder restaurantOrder);

    /**
     * 新增餐饮订单
     * 
     * @param restaurantOrder 餐饮订单
     * @return 结果
     */
    public int insertRestaurantOrder(RestaurantOrder restaurantOrder);

    /**
     * 修改餐饮订单
     * 
     * @param restaurantOrder 餐饮订单
     * @return 结果
     */
    public int updateRestaurantOrder(RestaurantOrder restaurantOrder);

    /**
     * 批量删除餐饮订单
     * 
     * @param ids 需要删除的餐饮订单主键集合
     * @return 结果
     */
    public int deleteRestaurantOrderByIds(Long[] ids);

    /**
     * 删除餐饮订单信息
     * 
     * @param id 餐饮订单主键
     * @return 结果
     */
    public int deleteRestaurantOrderById(Long id);

    int insert(List<Restaurant> restaurantList);

    int auditRestaurantOrder(Long id);

    List<RestaurantOrder> getData(String day);

    List<RestaurantOrder> getMyOrder();

    int cancel(Long id);
}
